/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../variables';

$resources-width: 240px;

.explore-view {
  height: 100%;
  position: relative;

  display: grid;
  grid-template-columns: $resources-width 1fr $resources-width;
  grid-template-rows: auto 1fr;
  gap: 8px;

  .source-pane,
  .filter-pane,
  .tile-picker,
  .control-pane-cnt {
    @include card-like;
    padding: 8px;
    height: 100%;
    overflow: auto;
  }

  .resource-pane-cnt,
  .module-holder {
    @include card-like;
  }

  .resource-pane-cnt {
    height: 100%;

    .resource-pane {
      height: 100%;
    }
  }
}

.drag-ghost {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -10;

  .drag-ghost-inner {
    margin: 12px;

    padding: 4px 8px;
    background: $dark-gray1;
    color: white;
    border-radius: 3px;
  }
}
